package com.tedu.model;

public class Address {
	private int id;
	private String base;
	private String place;
	private String name;
	private String phone;
	private int status;
	private User user;
	public Address() {
		
	}
	public Address(String base, String place, String name, String phone, int status, User user) {
		this.base = base;
		this.place = place;
		this.name = name;
		this.phone = phone;
		this.status = status;
		this.user = user;
	}
	public Address(int id, String base, String place, String name, String phone, int status, User user) {
		this.id = id;
		this.base = base;
		this.place = place;
		this.name = name;
		this.phone = phone;
		this.status = status;
		this.user = user;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getBase() {
		return base;
	}
	public void setBase(String base) {
		this.base = base;
	}
	public String getPlace() {
		return place;
	}
	public void setPlace(String place) {
		this.place = place;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	@Override
	public String toString() {
		return "Address [id=" + id + ", base=" + base + ", place=" + place + ", name=" + name + ", phone=" + phone
				+ ", status=" + status + "]";
	}
	
}
